package com.article.service;

import com.article.entity.dto.UserDto;
import com.article.entity.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;


public interface UserService extends IService<User> {

    User login(User user);

    int register(UserDto userDto);

    User getUserInfo(Integer id);
}
